<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja" id="main">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>JsonEx 类</title>
	<link rel="stylesheet" href="../inc/css/style.min.css" />
	<script type="text/javascript" src="../inc/js/lib/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="../inc/js/common.js"></script>
</head>
<body>

	<div class="main">

		<h1 class="main__title--h1 main__title--h1--v07">JsonEx 类</h1>
		<ul class="breadcrumb">
			<li>JS 库</li>
			<li>&gt;</li>
			<li>JsonEx 类</li>
		</ul>
		<p>处理带有对象信息的 JSON 数据的静态类。</p>


		<div class="main__section">
			<h2 class="main__title--h2">索引</h2>
			<b>方法</b>
			<ul class="main__ul--inline">
				<li><a href="#m01">makeDeepCopy</a> <span>static</span></li>
				<li><a href="#m02">parse</a> <span>static</span></li>
				<li><a href="#m03">stringify</a> <span>static</span></li>
			</ul>

			<b>属性</b>
			<ul class="main__ul--inline">
				<li><a href="#p01">maxDepth</a> <span>static</span></li>
			</ul>
		</div><!-- /main__section -->


		<div class="main__section">
			<h2 class="main__title--h2">Methods</h2>


			<div id="m01" class="main__subsection">
<pre class="main__pre--code">
makeDeepCopy ( object ) <span class="pre__type">Object</span> <span class="pre__static">[static]</span>
</pre>
				<p class="mb10px">深拷贝特定对象。</p>
				<div class="params">
					<h4>参数：</h4>
					<ul class="params-list">
						<li class="param">
							<code class="param-name">object </code>
							<span class="type">Object</span>
							<div class="param-description">
								<p>需要深拷贝的对象</p>
							</div>
						</li>
					</ul>
					<h4>返回值:</h4>
					<p><span class="pre__type">Object:</span> <br />
					对象的深拷贝</p>
				</div>
			</div><!-- /div -->

			<div id="m02" class="main__subsection">
<pre class="main__pre--code">
parse ( json ) <span class="pre__type">Object</span> <span class="pre__static">[static]</span>
</pre>
				<p class="mb10px">解析 JSON 字符串并生成相应的对象。</p>
				<div class="params">
					<h4>参数：</h4>
					<ul class="params-list">
						<li class="param">
							<code class="param-name">json</code>
							<span class="type">String</span>
							<div class="param-description">
								<p>待解析的 JSON 字符串</p>
							</div>
						</li>
					</ul>
					<h4>返回值：</h4>
					<p><span class="pre__type">Object:</span> <br />
					生成的对象</p>
				</div>
			</div><!-- /div -->

			<div id="m03" class="main__subsection">
<pre class="main__pre--code">
stringify ( object ) <span class="pre__type">String</span> <span class="pre__static">[static]</span>
</pre>
				<p class="mb10px">将对象转换为 JSON 字符串。</p>
				<div class="params">
					<h4>参数：</h4>
					<ul class="params-list">
						<li class="param">
							<code class="param-name">object</code>
							<span class="type">Object</span>
							<div class="param-description">
								<p>待转换的对象</p>
							</div>
						</li>
					</ul>
					<h4>返回值：</h4>
					<p><span class="pre__type">String:</span> <br />
					生成的JSON字符串</p>
				</div>
			</div><!-- /div -->


		</div><!-- /main__section -->


		<div class="main__section">
			<h2 class="main__title--h2">属性</h2>

			<div id="p01" class="main__subsection">
<pre class="main__pre--code">
maxDepth  <span class="pre__type">Number</span> <span class="pre__static">[static]</span>
</pre>
				<p class="mb10px">对象的最大深度。<br />
				<br />
				<b>默认值</b>: 100</p>
			</div><!-- /div -->

		</div><!-- /main__section -->


	</div><!-- /main -->

</body>
</html>